import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Ex1 from '@/components/Ex1'
import Ex2 from '@/components/Ex2'
import Ex3 from '@/components/Ex3'
import Ex4 from '@/components/Ex4'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    }, {
      path: '/ex1',
      component: Ex1
    }, {
      path: '/ex2',
      component: Ex2
    }, {
      path: '/ex3',
      component: Ex3
    }, {
      path: '/ex4',
      component: Ex4
    }
  ]
})
